#pragma once
#include "ProjectPlanGUI\lbprojectplangui_global.h"

#include <QDialog>
#include <QTableView>
#include <QPushButton>
#include <QLineEdit>

namespace LBPROJGUI
{
    class PROJECTPLANGUI_EXPORT CEditPreTaskWidget : public QDialog
    {
        Q_OBJECT

    public:
        CEditPreTaskWidget(QWidget *parent = Q_NULLPTR);
        ~CEditPreTaskWidget();

        QTableView* GetTableView() const;
        QLineEdit* GetTaskNameEdit() const;
        QLineEdit* GetTaskIndexEdit() const;
        QPushButton* GetAddPreTaskButton() const;
        QPushButton* GetDeletePreTaskButton() const;

    private:
        QTableView* m_pPreTaskTable;
        QLineEdit* m_pTaskName;
        QLineEdit* m_pTaskIndex;
        QPushButton* m_pAddPreTaskButton;
        QPushButton* m_pDeletePreTaskButton;
    };

}

